package com.whsxt.common;

public enum CodeMsg {
	
	SUCCESS(200,"成功"),
	ERROR(500,"错误"),
	NOT_LOGIN(101,"未登录"),
	UNAUTHORIZED(102,"未授权");
	private int code;
	
	private String msg;
	
	CodeMsg(int code,String msg){
		this.code = code;
		this.msg = msg;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
	
}
